package com.office.meeting.invited.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Date;


/**
 * @author: 柒月
 * @date: 2025/5/12 下午4:34
 * @version: 1.0
 */
public class ConferenceInvitationEntity {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 当前邀请人的id
     */
    private Long inviterId;

    /**
     * 被邀请人的id
     */
    private Long userId;

    /**
     * 会议名字
     */
    private String meetingName;

    /**
     * 会议开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    /**
     * '邀请状态默认为 3 (0 表示已同意 1 表示已经拒绝 3 表示没有操作)'
     */
    private Integer state;

    /**
     * 会议密码
     */
    private String password;

    /**
     * '拒绝会议后的理由'
     */
    private String reason;


    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Long getInviterId() {
        return inviterId;
    }

    public void setInviterId(Long inviterId) {
        this.inviterId = inviterId;
    }

    public String getMeetingName() {
        return meetingName;
    }

    public void setMeetingName(String meetingName) {
        this.meetingName = meetingName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}

